package com.lw1throw.token.login;

import com.alibaba.cola.dto.Response;
import com.lw1throw.token.login.api.LoginService;
import com.lw1throw.token.login.dto.LoginQry;
import com.lw1throw.token.login.executor.query.LoginQryExe;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName: LoginServiceImpl.java
 * @Description: 登录实现
 * @Author lw1throw
 * @date 2021/5/8
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Resource
    private LoginQryExe loginQryExe;

    @Override
    public Response login(LoginQry loginQry) {
        return loginQryExe.execute(loginQry);
    }
}
